package com.basic.system.service;

import com.basic.common.result.WebResult;
import com.basic.system.dao.model.Dictionary;
import com.basic.system.domain.DictionaryBo;
import com.basic.system.domain.DictionaryInsertDto;
import com.basic.system.domain.bo.DictionarDictIdVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DictionaryService {

    //修改数据
    public WebResult updateByPrimaryKeySelective(Dictionary record);
    //插入数据
    public WebResult insertSelective(DictionaryInsertDto dictionaryInsertDto);
    //查询返回List
    public List<Dictionary> selectByExample(DictionaryBo dictionaryBo);
    //分页查询
    PageInfo selAlarmPersonSetDetailListByPage(DictionaryBo dictionaryBo);
    //批量删除
    public WebResult deleteList(List<Long> ids);
    //根据dictId和code查询字典集合
    public List<Dictionary> selectListByDictIdCodeId(Dictionary dictionary);
    //根据dictId和code（分页）查询字典集合
    public PageInfo selectListByDictIdCodePageInfo(DictionaryBo dictionaryBo);
    //下拉框
    public List<DictionarDictIdVo> getPumpStationTypes(String dictId);
}
